//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04A
TN_Widget.CreateTable([['Thirty Seconds to Mars','O2 Arena - London','London, United Kingdom','Tuesday','6/4/2024','6:30 PM','6103739','Thirty-Seconds-to-Mars-6-4-2024'],['Thirty Seconds to Mars & AFI','White River Amphitheatre','Auburn, WA','Friday','7/26/2024','6:30 PM','6072221','Thirty-Seconds-to-Mars---AFI-7-26-2024'],['Thirty Seconds to Mars & AFI','RV Inn Style Resorts Amphitheater','Ridgefield, WA','Saturday','7/27/2024','6:30 PM','6071984','Thirty-Seconds-to-Mars---AFI-7-27-2024'],['Thirty Seconds to Mars & AFI','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Tuesday','7/30/2024','6:30 PM','6071693','Thirty-Seconds-to-Mars---AFI-7-30-2024'],['Thirty Seconds to Mars & AFI','Red Rocks Amphitheatre','Morrison, CO','Wednesday','7/31/2024','6:30 PM','6071663','Thirty-Seconds-to-Mars---AFI-7-31-2024'],['Thirty Seconds to Mars & AFI','Hollywood Casino Amphitheatre - MO','Maryland Heights, MO','Friday','8/2/2024','6:30 PM','6071692','Thirty-Seconds-to-Mars---AFI-8-2-2024'],['Thirty Seconds to Mars & AFI','Ascend Amphitheater','Nashville, TN','Saturday','8/3/2024','6:30 PM','6071985','Thirty-Seconds-to-Mars---AFI-8-3-2024'],['Thirty Seconds to Mars & AFI','Pine Knob Music Theatre','Clarkston, MI','Tuesday','8/6/2024','6:30 PM','6072220','Thirty-Seconds-to-Mars---AFI-8-6-2024'],['Thirty Seconds to Mars & AFI','Blossom Music Center','Cuyahoga Falls, OH','Wednesday','8/7/2024','6:30 PM','6071689','Thirty-Seconds-to-Mars---AFI-8-7-2024'],['Thirty Seconds to Mars & AFI','Ruoff Music Center','Noblesville, IN','Friday','8/9/2024','6:30 PM','6071687','Thirty-Seconds-to-Mars---AFI-8-9-2024'],['Thirty Seconds to Mars & AFI','Huntington Bank Pavilion at Northerly Island','Chicago, IL','Saturday','8/10/2024','6:30 PM','6071695','Thirty-Seconds-to-Mars---AFI-8-10-2024'],['Thirty Seconds to Mars & AFI','Budweiser Stage - Toronto','Toronto, Canada','Monday','8/12/2024','6:30 PM','6072129','Thirty-Seconds-to-Mars---AFI-8-12-2024'],['Thirty Seconds to Mars & AFI','Freedom Mortgage Pavilion','Camden, NJ','Wednesday','8/14/2024','7:30 PM','6071685','Thirty-Seconds-to-Mars---AFI-8-14-2024'],['Thirty Seconds to Mars & AFI','Merriweather Post Pavilion','Columbia, MD','Thursday','8/15/2024','6:30 PM','6071683','Thirty-Seconds-to-Mars---AFI-8-15-2024'],['Thirty Seconds to Mars & AFI','Barclays Center','Brooklyn, NY','Saturday','8/17/2024','6:30 PM','6072031','Thirty-Seconds-to-Mars---AFI-8-17-2024'],['Thirty Seconds to Mars & AFI','Xfinity Center - MA','Mansfield, MA','Sunday','8/18/2024','6:30 PM','6071681','Thirty-Seconds-to-Mars---AFI-8-18-2024'],['Thirty Seconds to Mars & AFI','PNC Music Pavilion - Charlotte','Charlotte, NC','Tuesday','8/20/2024','7:00 PM','6071690','Thirty-Seconds-to-Mars---AFI-8-20-2024'],['Thirty Seconds to Mars & AFI','Cellairis Amphitheatre at Lakewood','Atlanta, GA','Wednesday','8/21/2024','6:30 PM','6072219','Thirty-Seconds-to-Mars---AFI-8-21-2024'],['Thirty Seconds to Mars & AFI','iTHINK Financial Amphitheatre','West Palm Beach, FL','Friday','8/23/2024','7:00 PM','6071686','Thirty-Seconds-to-Mars---AFI-8-23-2024'],['Thirty Seconds to Mars & AFI','MidFlorida Credit Union Amphitheatre At The Florida State Fairgrounds','Tampa, FL','Saturday','8/24/2024','7:00 PM','6071694','Thirty-Seconds-to-Mars---AFI-8-24-2024'],['Thirty Seconds to Mars & AFI','Dos Equis Pavilion','Dallas, TX','Tuesday','8/27/2024','6:30 PM','6071682','Thirty-Seconds-to-Mars---AFI-8-27-2024'],['Thirty Seconds to Mars & AFI','The Cynthia Woods Mitchell Pavilion','Spring, TX','Thursday','8/29/2024','6:30 PM','6071684','Thirty-Seconds-to-Mars---AFI-8-29-2024'],['Thirty Seconds to Mars & AFI','Germania Insurance Amphitheater','Austin, TX','Friday','8/30/2024','6:30 PM','6071696','Thirty-Seconds-to-Mars---AFI-8-30-2024'],['Thirty Seconds to Mars & AFI','Talking Stick Resort Amphitheatre','Phoenix, AZ','Sunday','9/1/2024','6:30 PM','6071691','Thirty-Seconds-to-Mars---AFI-9-1-2024'],['Thirty Seconds to Mars & AFI','Shoreline Amphitheatre - CA','Mountain View, CA','Wednesday','9/4/2024','6:30 PM','6071688','Thirty-Seconds-to-Mars---AFI-9-4-2024']],'30 Seconds To Mars','http://www.ticketnetwork.com/ticket/30-Seconds-To-Mars-events.aspx');